package cn.edu.jsu.official.pojo.vo;

import cn.edu.jsu.official.pojo.dto.HistoryProcess;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.annotation.Id;

import java.util.List;

public class HistoryVO {


    @ApiModelProperty("提交年份")
    private Integer year;

    private List<HistoryProcess> childHistoryProcesses;

    public HistoryVO(){

    }

    public HistoryVO(Integer year) {
        this.year=year;
    }

    public HistoryVO(Integer year, List<HistoryProcess> childHistoryProcesses) {
        this.year = year;
        this.childHistoryProcesses = childHistoryProcesses;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public List<HistoryProcess> getChildHistoryProcesses() {
        return childHistoryProcesses;
    }

    public void setChildHistoryProcesses(List<HistoryProcess> childHistoryProcesses) {
        this.childHistoryProcesses = childHistoryProcesses;
    }

    @Override
    public String toString() {
        return "HistoryVO{" +
                "year=" + year +
                ", childHistoryProcesses=" + childHistoryProcesses +
                '}';
    }
}
